package com.headhunter.company;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.headhunter.server.ApplicationRecord;

/**
 * Class for communicating required degrees and qualifications for a job
 * 
 * @author gokhan
 * 
 */
public class ApplicationRecordImpl implements ApplicationRecord, Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private List<String> degrees = new ArrayList<String>();
	
	private List<String> qualifications = new ArrayList<String>();
	
	private String companyName;
	
	private String companyWebSite;

	public ApplicationRecordImpl(String companyName, String companyWebSite) {
		this.companyName = companyName;
		this.companyWebSite = companyWebSite;
	}

	@Override
	public List<String> getDegrees() {
		return degrees;
	}

	@Override
	public List<String> getQualifications() {
		return qualifications;
	}

	public void addDegree(String degree) {
		degrees.add(degree);
	}

	public void addQualification(String qualification) {
		qualifications.add(qualification);
	}

	@Override
	public String getCompanyName() {
		return companyName;
	}

	@Override
	public String getCompanyWebsite() {
		return companyWebSite;
	}

}